# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
pkgname=py3-flask-script
_pkgname=Flask-Script
pkgver=2.0.6
pkgrel=8
pkgdesc="Flask scripting support"
url="https://pypi.org/project/Flask-Script"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-flask"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-flask-script" # Backwards compatibility
provides="py-flask-script=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="03c51213be8e2b86f1f4450565cf4d7e3d9d7257ac017bd53830be57620d581f43bcfe959ef7b621af722c688c56495229aad3dd9654c8a8a5905db0105275fc  Flask-Script-2.0.6.tar.gz"
